<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= HOME_NAME %></title>
<link href="../css/home.css" rel="stylesheet" type="text/css">
<script language="javascript">

function setCookie(name, value, expiredays){
var todayDate = new Date();
todayDate.setDate(todayDate.getDate() + expiredays);
document.cookie = name + "=" + escape(value) + "; path=/; expires=" + todayDate.toGMTString() + ";"


alert(document.cookie);
}

function closeWin(){

//alert("start");
if(document.form1.Notice.checked){
setCookie( "notice", "1" , 1);
//alert("check");
}
self.close();
}
</script>
</head>
<body>


			<img src="/home/popup/promotion_01.jpg"/>
            <form name="form1" >
                <tr>
                    <td align="center" ><input type="checkbox" name="Notice"  OnClick="closeWin()">
                        <font color=#ffffff>오늘은 이창을 다시 열지않음</font></td>
                </tr>
                </form>
              </body>
              </html>